package com.naeeiot.calc.bean;

public class PfcalcSeg {
    Long id;        // ID 唯一 输入
    Long node0_id;    // 首端节点ID（st_pfcalc_node） 输入
    Long node1_id;    // 末端节点ID（st_pfcalc_node） 输入
    Double r;        // 电阻标幺值 输入
    Double x;        // 电抗标幺值 输入
    Double b;        // 电纳标幺值输入
    Double k;        // 非标准变比 输入
    Double amprating;    // 额定容量 no use
    Integer iisl;        // no use
    Double p0;        // 首端有功 输出
    Double q0;        // 首端有功 输出
    Double p1;        // 首端有功 输出

    @Override
    public String toString() {
        return "PfcalcSeg{" +
                "id=" + id +
                ", node0_id=" + node0_id +
                ", node1_id=" + node1_id +
                ", r=" + r +
                ", x=" + x +
                ", b=" + b +
                ", k=" + k +
                ", amprating=" + amprating +
                ", iisl=" + iisl +
                ", p0=" + p0 +
                ", q0=" + q0 +
                ", p1=" + p1 +
                ", q1=" + q1 +
                ", i=" + i +
                ", v0=" + v0 +
                ", v1=" + v1 +
                ", run_status=" + run_status +
                ", open_flag=" + open_flag +
                ", k_flag=" + k_flag +
                '}';
    }

    Double q1;        // 首端有功 输出
    Double i;        // 首端有功 输出
    Double v0;        // 首端有功 输出
    Double v1;        // 首端有功 输出
    Integer run_status;        // no use
    Integer open_flag;        // no use
    Integer k_flag;        // no use

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getNode0_id() {
        return node0_id;
    }

    public void setNode0_id(Long node0_id) {
        this.node0_id = node0_id;
    }

    public Long getNode1_id() {
        return node1_id;
    }

    public void setNode1_id(Long node1_id) {
        this.node1_id = node1_id;
    }

    public Double getR() {
        return r;
    }

    public void setR(Double r) {
        this.r = r;
    }

    public Double getX() {
        return x;
    }

    public void setX(Double x) {
        this.x = x;
    }

    public Double getB() {
        return b;
    }

    public void setB(Double b) {
        this.b = b;
    }

    public Double getK() {
        return k;
    }

    public void setK(Double k) {
        this.k = k;
    }

    public Double getAmprating() {
        return amprating;
    }

    public void setAmprating(Double amprating) {
        this.amprating = amprating;
    }

    public Integer getIisl() {
        return iisl;
    }

    public void setIisl(Integer iisl) {
        this.iisl = iisl;
    }

    public Double getP0() {
        return p0;
    }

    public void setP0(Double p0) {
        this.p0 = p0;
    }

    public Double getQ0() {
        return q0;
    }

    public void setQ0(Double q0) {
        this.q0 = q0;
    }

    public Double getP1() {
        return p1;
    }

    public void setP1(Double p1) {
        this.p1 = p1;
    }

    public Double getQ1() {
        return q1;
    }

    public void setQ1(Double q1) {
        this.q1 = q1;
    }

    public Double getI() {
        return i;
    }

    public void setI(Double i) {
        this.i = i;
    }

    public Double getV0() {
        return v0;
    }

    public void setV0(Double v0) {
        this.v0 = v0;
    }

    public Double getV1() {
        return v1;
    }

    public void setV1(Double v1) {
        this.v1 = v1;
    }

    public Integer getRun_status() {
        return run_status;
    }

    public void setRun_status(Integer run_status) {
        this.run_status = run_status;
    }

    public Integer getOpen_flag() {
        return open_flag;
    }

    public void setOpen_flag(Integer open_flag) {
        this.open_flag = open_flag;
    }

    public Integer getK_flag() {
        return k_flag;
    }

    public void setK_flag(Integer k_flag) {
        this.k_flag = k_flag;
    }
}
